
//  Copyright (C) 2007 Richard Uhler

//?d:Try push on an object
//?e:3foobarsludge

foo = new Object();
foo.length = 0;
foo.push = Array.prototype.push;

foo.push("foo", "bar", "sludge");
print(foo.length);
for (var i = 0; i < foo.length; i++)
{
    print(foo[i]);
}

